#!/bin/bash 
# Testing a mult-func scripts
# 
name=$(basename $0)

if [ $name = "addem" ]; then
    total=$[ $1 + $2 ]
elif [ $name = "multem" ]; then
    total=$[ $1 * $2 ]
fi

echo ""
echo "The calculated value is $total"
